{{ if default true .Site.Params.BookSearch }}
<aside class="book-search">
  <div class="book-search-inner">
    <div class="book-search-header">
      {{ partial "docs/search-input" (dict "showClose" "true")}}
      <span class="book-icon-wrapper book-icon-big clear-search">
        {{ partial "svgs/clear.svg" .}}
      </span>
      <span class="divide">|</span>
      <span class="book-icon-wrapper book-icon-big close-search">
        <label for="search-control">
          {{ partial "svgs/search-close.svg" .}}
        </label>
        <div class="tooltip">收起</div>
      </span>
    </div>
    <nav>
      <ul id="book-search-results"></ul>
    </nav>
  </div>
</aside>
{{ end }}